package cn.com.qtgl.apis.builtin.model.vo.services;

import cn.melonlib.authentication.model.entity.Tenant;
import cn.melonlib.cores.commons.model.entity.ApiEntity;
import cn.melonlib.cores.commons.model.entity.StringIdEntity;
import cn.melonlib.cores.model.anno.ModelComment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@ModelComment("服务信息")
public class Service extends StringIdEntity implements ApiEntity {
    @ModelComment("名称")
    private String name;
    @ModelComment("描述")
    private String description ;

    @ModelComment("是否绑定")
    private Boolean bound ;

    @ModelComment("概要")
    private String schema;
    @ModelComment("图")
    private String graph;

    @ModelComment("节点")
    private List<Endpoint> endpoints ;

    @ModelComment("变量")
    private String variables ;
    @ModelComment("类型")
    private String type ;
    @ModelComment("租户")
    private Tenant tenant;
    @ModelComment("标签名")
    private String labels;

    @ModelComment("标签")
    private String tags ;

    @ModelComment("客户端ID")
    private String clientId ;
}
